home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Macintosh Programmer’s Workshop / MPW 3.1 / MPW / Interfaces / CIncludes / SegLoad.h < prev    next >
Text File  |  1990-12-13  |  1KB  |  50 lines

  1. /************************************************************
  2.  
  3. Created: Thursday, September 7, 1989 at 7:21 PM
  4.     SegLoad.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.     Copyright Apple Computer, Inc.    1985-1989
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __SEGLOAD__
  15. #define __SEGLOAD__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. #define appOpen 0    /*Open the Document (s)*/
  22. #define appPrint 1    /*Print the Document (s)*/
  23.  
  24. struct AppFile {
  25.     short vRefNum;
  26.     OSType fType;
  27.     short versNum;    /*versNum in high byte*/
  28.     Str255 fName;
  29. };
  30.  
  31. typedef struct AppFile AppFile;
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35. pascal void UnloadSeg(void * routineAddr)
  36.     = 0xA9F1;
  37. pascal void ExitToShell(void)
  38.     = 0xA9F4;
  39. pascal void GetAppParms(Str255 apName,short *apRefNum,Handle *apParam)
  40.     = 0xA9F5;
  41. pascal void CountAppFiles(short *message,short *count); 
  42. pascal void GetAppFiles(short index,AppFile *theFile);
  43. pascal void ClrAppFiles(short index);
  44. void getappparms(char *apName,short *apRefNum,Handle *apParam); 
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48.  
  49. #endif
  50.